package com.ysu.demo.from;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @author ：lhw
 * @date ：Created in 2019/9/8 10:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class LoginFrom {
    @NotBlank
    String login;

    @NotBlank
    String password;
}
